<?php  
    require_once('./include/cache_start.php');
	require_once('./include/db_info.inc.php');

  if(isset($OJ_LANG)){
		require_once("./lang/$OJ_LANG.php");
	}
?>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<!--[if lt IE 9]>
	<script src="http://letskillie6.googlecode.com/svn/trunk/2/zh_CN.js"></script>
<![endif]-->
<link rel="stylesheet" href="/css/bootstrap-glyphicons.css">
<link rel="stylesheet" href="/css/bootstrap.css">
<link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="/css/jquery-ui-1.10.3.custom.min.css">
<script type="text/javascript" src="/js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="/js/prettify.css">
<link rel="stylesheet" href="/css/nprogress.css">
<script type="text/javascript" src="/js/page.js" data-turbolinks-eval="true"></script>
<script type="text/javascript" src="/js/prettify.js"></script>
<script type="text/javascript" src="/js/turbolinks.js"></script>
<script type="text/javascript" src="/js/jquery.turbolinks.js"></script>
<script type="text/javascript" src="/js/nprogress.js"></script>
<script type="text/javascript" src="/js/respond.js"></script>
<script type="text/javascript" src="/js/jquery.html5-placeholder-shim.js"></script>
<script type="text/javascript" src="/js/jquery.bs.js"></script>
<script type="text/javascript" src="/js/site.js"></script>
	
	
</head>
<?php if(isset($_GET['cid']))
	$cid=intval($_GET['cid']);
if (isset($_GET['pid']))
	$pid=intval($_GET['pid']);
?>

<div class="navbar navbar-inverse" role="navigation">
    <div class="container">
        <div class="navbar-header">
            <a href="/contest.php?cid=<?php echo $cid?>" class="navbar-brand">比赛分赛区</a>
            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
        </div>
        <div class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
<ul class="nav navbar-nav">
    <li ><a href="/index.php">回到主页</a></li>
    <li ><a href='./contest.php?cid=<?php echo $cid?>'>问题</a></li>
    <li ><a href='./contestrank.php?cid=<?php echo $cid?>'>排名</a></li>
	<li ><a href='./status.php?cid=<?php echo $cid?>'>状态</a></li>
	<li ><a href='./conteststatistics.php?cid=<?php echo $cid?>'>统计</a></li>
</ul>

        <ul class="nav navbar-nav pull-right nav-controls">
            <script src="include/profile.php?<?php echo rand();?>" ></script>
        </ul>
		
		
        </div><!--/.nav-collapse -->
    </div>
</div>

<div class="container">
